#pragma once

#include "display_driver.h"

#include <windows.h>

class WinDisplayDriver : public IDisplayDriver
{
private:
    HDC m_hdc;
public:
    WinDisplayDriver(HDC hdc): m_hdc(hdc) { };
    ~WinDisplayDriver() {};
    void DrawStr(LPCWSTR, const Rect*) override;
    void FillRect(const Rect*) override;
    void DrawRect(const Rect*) override;

    void OnHDCChanged(HDC newHDC) {
        m_hdc = newHDC;
    }
};